.card {
  display: inline-block;
  transition: transform 0.2s;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  margin: 1rem;
  cursor: pointer;
  min-width: 200px;
  height: 300px;
  border: 1px solid rgb(99, 99, 99);

  &:hover {
    transform: scale(1.2);
  }
}

.cards__img {
  height: 100%;
}

.cards__overlay {
  position: absolute;
  padding: 0 1rem 1rem 1rem;
  bottom: 0px;
  height: 290px;
  display: flex;
  flex-direction: column;
  width: 85%;
  justify-content: flex-end;
  background-image: linear-gradient(rgb(0, 0, 0, 0), rgb(0, 0, 0, 1));
  opacity: 0;
  transition: opacity 0.2s;

  &:hover {
    opacity: 1;
  }
}

.card__title {
  font-weight: 900;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.card__runtime {
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
}

.card__rating {
  float: right;
  color: rgb(205, 212, 5);
}

.card__description {
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
}
